package com.yida.gwj.expend.enums;

/**
 * 业务状态(用于展示)
 *
 * @author wkz
 */
public enum BusinessServerStatusEnum {
    /**
     * 业务状态(用于展示)  业务状态  0:正常 1:回退 2:完结 3:作废 4:退件
     */
    NORMAL(0, "正常"),
    FALLBACK(1, "回退"),
    FINISH(2, "完结"),
    CANCEL(3, "作废"),
    RETREAT_PARTS(4, "退件");

    /**
     * 错误码
     */
    private final Integer code;

    /**
     * 描述
     */
    private final String msg;

    public Integer getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }

    BusinessServerStatusEnum(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }
}
